package run.bottle.thread.char01;

public class ExampleCurrentThread extends Thread {

    public ExampleCurrentThread() {
        System.out.println("构造方法的打印：" + Thread.currentThread().getName());
        System.out.println("this.getName()=" + this.getName());
    }

    @Override
    public void run() {
        super.run();
        System.out.println("run方法的打印：" + Thread.currentThread().getName());
        System.out.println("this.getName()=" + this.getName());
    }
}
